import 'package:flutter/material.dart';

class SearchPage extends StatefulWidget {
  Map arguments;
  SearchPage({this.arguments});
  @override
  State<StatefulWidget> createState() => SearchPageState(arguments:this.arguments);
}

class SearchPageState extends State {
  Map arguments;
  SearchPageState({this.arguments});
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('搜索页面')),
      body: Text('SearchPage --- ${arguments['num'] != null ? arguments['num'] : 0}'),
    );
  }
}
